home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: giuliano@ix.netcom.com(Giuliano Carlini)
- Newsgroups: comp.lang.c++
- Subject: Re: Is RTTI required if polymorphic constructor exists
- Date: 13 Apr 1996 08:55:46 GMT
- Organization: Netcom
- Message-ID: <4knq6i$feu@dfw-ixnews5.ix.netcom.com>
- References: <4knh38$lbl@nuscc.nus.sg>
- NNTP-Posting-Host: lbx-ca8-13.ix.netcom.com
- X-NETCOM-Date: Sat Apr 13 3:55:46 AM CDT 1996
-
- In <4knh38$lbl@nuscc.nus.sg> satrajit@iscs.nus.sg (Satrajit Sujit
- Ghosh) writes:
- >
- >
- >Hi,
- > The following is a piece of code for run-time object registry
- >without the use of the RTTI library or templates. It should be pretty
- >simple to decipher. It creates a polymorphic constructor, without
- >specifying a case statement, using static initializers.
- > Given this situation of object identification, is RTTI really
- necessary ?
- >
- >Satra[jit]
-
- Yes RTTI is necessary. There are many ways to do what you propose. And,
- that is the problem. Everyone has done it their own way. What is needed
- is a standard way to do it.
-
- g
-